package com.zmn.oms.model.entity.walldiscount;

import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import com.zmn.common.utils.pager.Pages;

import java.util.Date;

/**
 * 描述: 墙面订单优惠信息查询
 *
 * @author chengguang
 * @since  2022/06/20 18:46
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class WallDiscountQuery extends Pages {

    private static final long serialVersionUID = 1L;
    
    @ApiModelProperty("id")
    private Long relateId;
    
    @ApiModelProperty("工单id")
    private Long workId;
    
    @ApiModelProperty("优惠类型： <=21 促销；其他为券码")
    private Integer discountType;
    
    @ApiModelProperty("券码/促销id")
    private String discountCode;
    
    @ApiModelProperty("优惠金额")
    private Integer discountAmount;
    
    @ApiModelProperty("创建时间")
    private Date createTime;
    
    @ApiModelProperty("更新时间")
    private Date updateTime;
    
}
